-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use caching in github actions workflows #262
use caching in github actions workflows #262
Conversation
9702d39
to
fd9b4c5
Compare
- name: Cache Binaries | ||
id: cache-binaries | ||
uses: actions/cache@v3 | ||
with: | ||
path: bin | ||
key: ${{ runner.os }}-bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems the key
is always same although binary is built newly. I've read the GH action documentation that the binary is only built only if key is different than previous key. However, here ${{ runner.os }}-bin
is the same for the same OS although the code is changed.
Can you clarify this?
@@ -32,7 +32,14 @@ jobs: | |||
- name: Cache Go dependencies | |||
uses: actions/setup-go@v5 | |||
with: | |||
go-version: '1.21' | |||
go-version-file: "./go.mod" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼
Description
Changes proposed in this pull request:
Related issue(s)